#include "BulletDynamics/Dynamics/btDynamicsWorld.h"
#ifdef __cplusplus
extern "C" {
#endif
btDynamicsWorldFloatData* bullet_NewbtDynamicsWorldFloatData(){
	btDynamicsWorldFloatData* wrap_out = new btDynamicsWorldFloatData();
	return wrap_out;
}

btVector3FloatData* bullet_btDynamicsWorldFloatData_GetFieldOfM_gravity(btDynamicsWorldFloatData* c_this){
	return (btVector3FloatData*)(&c_this->m_gravity);
}

btDynamicsWorldDoubleData* bullet_NewbtDynamicsWorldDoubleData(){
	btDynamicsWorldDoubleData* wrap_out = new btDynamicsWorldDoubleData();
	return wrap_out;
}

btVector3DoubleData* bullet_btDynamicsWorldDoubleData_GetFieldOfM_gravity(btDynamicsWorldDoubleData* c_this){
	return (btVector3DoubleData*)(&c_this->m_gravity);
}

btContactSolverInfo* bullet_btDynamicsWorld_getSolverInfo(btDynamicsWorld* c_this){
	btContactSolverInfo& c_out = c_this->getSolverInfo();
	btContactSolverInfo* wrap_out = (btContactSolverInfo*)(&c_out);
	return wrap_out;
}

btContactSolverInfo* bullet_btDynamicsWorld_getSolverInfo1(btDynamicsWorld* c_this){
	btContactSolverInfo const& c_out = c_this->getSolverInfo();
	btContactSolverInfo* wrap_out = (btContactSolverInfo*)(&c_out);
	return wrap_out;
}

void* bullet_btDynamicsWorld_getWorldUserInfo(btDynamicsWorld* c_this){
	void * c_out = c_this->getWorldUserInfo();
	void* wrap_out = (void*)(void*)(c_out);
	return wrap_out;
}

void bullet_btDynamicsWorld_setWorldUserInfo(btDynamicsWorld* c_this,void* worldUserInfo){
	void * c_arg_worldUserInfo=(void *)(void*)(worldUserInfo);
	c_this->setWorldUserInfo(c_arg_worldUserInfo);
}

#ifdef __cplusplus
}
#endif
